package cn.edu.xust.Ro;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EleRo2 {

    String hotelid;
    String roomid;
    private String mac;



    /**
     * 电压
     */
    private String voltage;
    /**
     * 电流
     */
    private String eleccurrent;
    /**
     * 用电量
     */
    private String elecwattage;
    private String state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date logtime;//记录时间
    
    String note="real";


}
